home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / GLUT-3.7 / LIB / Makefile < prev   
Encoding:
Makefile  |  1998-08-12  |  662 b   |  45 lines

  1. ##
  2. ##  Makefile for Windows NT
  3. ##
  4.  
  5.  
  6. # defines
  7. SUBDIRS    = glut.dir mui.dir gle.dir glsmap.dir
  8. CLEAN    = $(SUBDIRS:.dir=.clean)
  9. CLOBBER    = $(SUBDIRS:.dir=.clobber)
  10.  
  11.  
  12. # default rule
  13. default    : $(SUBDIRS)
  14.  
  15.  
  16. # cleanup rules
  17. clean    : $(CLEAN)
  18. clobber    : $(CLOBBER)
  19.  
  20.  
  21. # inference rules
  22. $(SUBDIRS)    :
  23.     @echo.
  24.     @echo Making in $* subdirectory...
  25.     @cd $*
  26.     @nmake -f Makefile.win -nologo
  27.     @cd ..
  28.  
  29. $(CLEAN)    :
  30.     @del *~
  31.     @echo.
  32.     @echo Cleaning in $* subdirectory...
  33.     @cd $*
  34.     @nmake -f Makefile.win -nologo clean
  35.     @cd ..
  36.  
  37. $(CLOBBER)    :
  38.     @echo.
  39.     @echo Clobbering in $* subdirectory...
  40.     @cd $*
  41.     @nmake -f Makefile.win -nologo clobber
  42.     @cd ..
  43.  
  44.  
  45.